package com.bingkaimedia.merchantbeta.app;

import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Typeface;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;

import com.bingkaimedia.merchantbeta.R;


@SuppressLint("NewApi")
public class Notification extends Activity {


    private ImageView img_notif_icon;
    private TextView lbl_notif_detail;
    private Button cmd_notif_ok;


    @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {

    }

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        overridePendingTransition(R.anim.slide_in_right, R.anim.slide_out_left);
        setContentView(R.layout.notification);

        inisialisasi();
        form_click();

    }


    private void inisialisasi() {


        img_notif_icon = (ImageView) findViewById(R.id.img_notif_icon);
        lbl_notif_detail = (TextView) findViewById(R.id.lbl_notif_detail);
        cmd_notif_ok = (Button) findViewById(R.id.cmd_notif_ok);


        Typeface font = Typeface.createFromAsset(getAssets(), "gisha.ttf");

        lbl_notif_detail.setTypeface(font);
        cmd_notif_ok.setTypeface(font);


    }

    public void form_click() {


        cmd_notif_ok.setOnClickListener(new OnClickListener() {

            @Override
            public void onClick(View v) {
                finish();
            }
        });


    }


}
